//
//  SNUserAccountViewModel.h
//  SinaVboc
//
//  Created by V on 29/11/2016.
//  Copyright © 2016 仁忄. All rights reserved.
//

#import <Foundation/Foundation.h>

@class SNUserAccount;

@interface SNUserAccountViewModel : NSObject

@property (nonatomic, strong) SNUserAccount *userAccount;

//判断是否登陆
@property (nonatomic, assign) BOOL isUserLogin;

@property (nonatomic, strong) NSURL *iconURL;

+ (instancetype)shared;

- (void)loadAccessToken:(NSString *)code finished:(void(^)(bool isSuccess))finished;

@end
